Progetto Fondamenti
PRIMA LE COSE RICAVATE DAI DATI DI ASCOLTO RICHIESTI DI SPOTIFY
POI SUI BRANI SALVATI
ALLA FINE COSE USANDO SPOTIFYR
mi raccomanto, solo 10 minuti per la presentazione, massimo 12
PER FONDAMENTI RICAVARE DA TUTTI I BRANI SALVATI IN LIBRERIA IL GENERE E DA LI FARCI UN GRAFICOOO!!!!!! -> impossibile
che genere ascolto di più -> circa fatto
in che periodo (esempio inizio lockdown cosa ascoltavo) -> si
in che giorni ascolto di piu e in che ora -> si
cio che ascolto io vs cio che ascoltano gli altri in italia/mondo
canzoni piu ascoltate in questo anno/ultimi mesi -> DA METTERE?
quante volte ho ascoltato una determinata canzone!!! il numero di volte -> si
Introduzione
Cosa è Spotify?
parlare di Spotify?
le mie domande?
Spotify Logo
Spotify è un servizio musicale digitale (gratis o a pagamento) con il quale è semplice trovare la musica o il podcast giusto per ogni momento, su telefono, computer, tablet e altro ancora.
Ci sono milioni di brani ed episodi su Spotify. Quindi, non importa cosa si stia facendo: quando si guida, ci si allena, si fa festa o ci si riposa, la musica e i podcast giusti sono sempre a portata di mano.
SI possono sfogliare le raccolte di amici, artisti e celebrità o creare delle tue playlist personali per ogni mood.
Spotify Audio Analysis
Ogni brano ha delle particolari caratteristiche che lo rendono unico:
danceability: descrive quanto una canzone è adatta per ballare
energy: rappresenta una misura percettiva di intensità e attività (le tracce energiche sono veloci e rumorose)
valence: descrive la positività musicale trasmessa da un brano (alta valenza = più positive, bassa valenza = più negative)
I’m not going to get too much into this because there’s tons of documentation to be found here, but to summarize; Spotify’s API gives you the ability to extract several audio features of a song. The available features that also have been used for this analysis are: - Danceability: Danceability describes how suitable a track is for dancing based on a combination of musical elements including tempo, rhythm stability, beat strength, and overall regularity. A value of 0.0 is least danceable and 1.0 is most danceable. - Acousticness: A measure from 0.0 to 1.0 of whether the track is acoustic. - Energy: Energy is a measure from 0.0 to 1.0 and represents a perceptual measure of intensity and activity. Typically, energetic tracks feel fast, loud, and noisy. - Instrumentalness: Predicts whether a track contains no vocals. The closer the instrumentalness value is to 1.0, the greater likelihood the track contains no vocal content. - Liveness: Detects the presence of an audience in the recording. Higher liveness values represent an increased probability that the track was performed live. - Loudness: The overall loudness of a track in decibels (dB). Loudness values are averaged across the entire track. Values typical range between -60 and 0 db. - Speechiness: Speechiness detects the presence of spoken words in a track. The more exclusively speech-like the recording (e.g. talk show, audio book, poetry), the closer to 1.0 the attribute value. - Tempo: The overall estimated tempo of a track in beats per minute (BPM). In musical terminology, tempo is the speed or pace of a given piece and derives directly from the average beat duration. - Valence: A measure from 0.0 to 1.0 describing the musical positiveness conveyed by a track. Tracks with high valence sound more positive (e.g. happy, cheerful, euphoric), while tracks with low valence sound more negative (e.g. sad, depressed, angry).
altro modo
KEY HELPER: POPULARITY: MEASURE THE POPULARITY BASED ON PLAY NUMBER OF THE TRACK VALENCE: A MEASURE OF HAPPINESS LIVENESS: DETECTS THE PRESENCE OF AN AUDIENCE IN THE RECORDING. SPEECHINESS: DETECTS THE PRESENCE OF SPOKEN WORDS IN A TRACK. ENERGY: REPRESENTS A PERCEPTUAL MEASURE OF INTENSITY AND ACTIVITY. DANCEABILITY: DESCRIBES HOW SUITABLE A TRACK IS FOR DANCING BASED
Dataset
playback activity per week and hours
HackerRank è una società tecnologica che mette a disposizione di aziende e sviluppatori una piattaforma online con lo scopo di:
mettere in contatto le aziende con i migliori sviluppatori del mondo e viceversa;
agevolare le aziende nel processo di recruitamento dei candidati attraverso selezioni e sfide di coding;
offrire supporto didattico agli sviluppatori per affinare le proprie competenze;
Nel 2018 HackerRank ha sottoposto a oltre 25000 utenti, sia sviluppatori che responsabili delle assunzioni nelle aziende, un sondaggio online di 10 minuti per indagare sulle competenze, il background formativo, il ruolo attuale e altro ancora degli sviluppatori che hanno aderito, e sulle esigenze delle aziende al giorno d’oggi.
On what dates did you listen to more or less music on Spotify? This is the first question that you could answer. Starting from our variables, you can define the hours, minutes and seconds, and basically any temporality. You can make a first plot to observe the behavior of your activity on Spotify throughout the year, per week for example. # PLAYBACK ACTIVITY PER WEEK AND HOURS
As a result, you will get a plot like the following one, wherein in my case, the decrease in the use of Spotify after April is very visible. Perhaps to a large extent, this is because in April 2020, when we were forced to work from home (and to date) by covid-19, the times when I most enjoyed listening to music were at the office, and today working at home we take turns playing each one their music on their platforms.
On what dates did you listen to more or less music by a specific artist? Another question that you could answer in a very simple way and visualize with a line chart, you can also highlight the results you are looking for using the “gghighlight” library, and through the artistName variable. # PLAYBACK ACTIVITY PER SPECIFIC ARTIST
What were the artists you listened to the most on your Spotify? You can set a minimum of playing hours and find out from there which artists you listened to the most. For example, let’s say that you consider that the most listened to were those artists to whom you dedicated at least 3 hours of playback or more. # MOST LISTENED ARTISTS (MORE THAN 10 HOURS)
At what time have you had the most playback activity on your Spotify? You could view by the hour of the day inclusive, the activity log of your complete history with a heatmap, to observe how this habit has changed over time if it is the case. # PLAYBACK ACTIVITY BY DATE AND TIME OF DAY
You can also create a bar chart to take a closer look in detail at the times of the day when there is a record of the highest activity on your account. # PLAYBACK ACTIVITY BY TIME OF THE DAY
What days of the week do you have the most playback activity on your Spotify? You can also answer this question by creating another heatmap, but this time visualizing the relationship between day of the week and time of day. # PLAYBACK ACTIVITY BY TIME OF THE DAY AND WEEKDAY
Another way in which you can take a look at the details previously obtained could be by creating a line chart. # PLAYBACK ACTIVITY BY TIME OF THE DAY AND WEEKDAY - LINE CHART
I can see in my case that Sundays are definitely the days that I listen to music the least. You will get as a result a plot similar to the following one where you can also see which is the day when you have the least playback activity.
PLAYBACK ACTIVITY BY DAY TYPE
PROVA CON MY SAVED TRACKS!
provo a capire quante volte ho ascoltato le canzoni su streamHistory2
artisti più ascoltati long term + grafico
artisti più ascoltati short term + modifiche + grafico GENERI
grafico cazzo
netta maggioranza per il pop ma è presente anche rock e punk!